package com.fish.anne.dao;

import java.util.List;
import java.util.List;

import com.fish.anne.dao.GenericDao;

import com.fish.anne.model.Order;
import com.fish.anne.webapp.formbean.OrderSearch;

/**
 * An interface that provides a data management interface to the Order table.
 */
public interface OrderDao extends GenericDao<Order, Long> {
	
	public List<Order> find(OrderSearch orderSearch);
    
    public Long getCountBySearch(OrderSearch orderSearch);
    
    public void updateStatus(Order order);
    
    public List getOrderByMemberId(Long memberId);
	public void deleteOrder(Long orderId);
}